export default function HomeReducer(preState, action) {
  const { type, data } = action

  switch (type) {
    case 'getData':
      return data
  }
}
